package com.wyait.manage.dao;


import com.wyait.manage.pojo.Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章 Mapper
 */
@Mapper
public interface ArticleMapper {

    List<Article> getArticleList(@Param("article") Article article);

    int updateArticle(@Param("article") Article article);

    int insert(@Param("article") Article article);

    int delArticle(Integer id);

    Article getArticleById(Integer id);
}
